package com.example.demo.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZQW
 */
public class Fmeditem extends Model<Fmeditem> {

private static final long serialVersionUID=1L;

    /**
     * ID主键
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 项目编码
     */
    @TableField("ItemCode")
    private String ItemCode;

    /**
     * 项目名称
     */
    @TableField("ItemName")
    private String ItemName;

    /**
     * 规格
     */
    @TableField("Format")
    private String Format;

    /**
     * 单价
     */
    @TableField("Price")
    private BigDecimal Price;

    /**
     * 所属费用科目ID
     */
    @TableField("ExpClassID")
    private Integer ExpClassID;

    /**
     * 执行科室ID
     */
    @TableField("DeptID")
    private Integer DeptID;

    /**
     * 拼音助记码
     */
    @TableField("MnemonicCode")
    private String MnemonicCode;

    /**
     * 创建时间
     */
    @TableField("CreationDate")
    private Date CreationDate;

    /**
     * 最后修改时间
     */
    @TableField("LastUpdateDate")
    private Date LastUpdateDate;

    /**
     * 项目类型
     */
    @TableField("RecordType")
    private Integer RecordType;

    /**
     * 删除标记
     */
    @TableField("DelMark")
    private Integer DelMark;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getItemCode() {
        return ItemCode;
    }

    public void setItemCode(String ItemCode) {
        this.ItemCode = ItemCode;
    }

    public String getItemName() {
        return ItemName;
    }

    public void setItemName(String ItemName) {
        this.ItemName = ItemName;
    }

    public String getFormat() {
        return Format;
    }

    public void setFormat(String Format) {
        this.Format = Format;
    }

    public BigDecimal getPrice() {
        return Price;
    }

    public void setPrice(BigDecimal Price) {
        this.Price = Price;
    }

    public Integer getExpClassID() {
        return ExpClassID;
    }

    public void setExpClassID(Integer ExpClassID) {
        this.ExpClassID = ExpClassID;
    }

    public Integer getDeptID() {
        return DeptID;
    }

    public void setDeptID(Integer DeptID) {
        this.DeptID = DeptID;
    }

    public String getMnemonicCode() {
        return MnemonicCode;
    }

    public void setMnemonicCode(String MnemonicCode) {
        this.MnemonicCode = MnemonicCode;
    }

    public Date getCreationDate() {
        return CreationDate;
    }

    public void setCreationDate(Date CreationDate) {
        this.CreationDate = CreationDate;
    }

    public Date getLastUpdateDate() {
        return LastUpdateDate;
    }

    public void setLastUpdateDate(Date LastUpdateDate) {
        this.LastUpdateDate = LastUpdateDate;
    }

    public Integer getRecordType() {
        return RecordType;
    }

    public void setRecordType(Integer RecordType) {
        this.RecordType = RecordType;
    }

    public Integer getDelMark() {
        return DelMark;
    }

    public void setDelMark(Integer DelMark) {
        this.DelMark = DelMark;
    }

    public static final String ID = "ID";

    public static final String ITEMCODE = "ItemCode";

    public static final String ITEMNAME = "ItemName";

    public static final String FORMAT = "Format";

    public static final String PRICE = "Price";

    public static final String EXPCLASSID = "ExpClassID";

    public static final String DEPTID = "DeptID";

    public static final String MNEMONICCODE = "MnemonicCode";

    public static final String CREATIONDATE = "CreationDate";

    public static final String LASTUPDATEDATE = "LastUpdateDate";

    public static final String RECORDTYPE = "RecordType";

    public static final String DELMARK = "DelMark";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Fmeditem{" +
        "id=" + id +
        ", ItemCode=" + ItemCode +
        ", ItemName=" + ItemName +
        ", Format=" + Format +
        ", Price=" + Price +
        ", ExpClassID=" + ExpClassID +
        ", DeptID=" + DeptID +
        ", MnemonicCode=" + MnemonicCode +
        ", CreationDate=" + CreationDate +
        ", LastUpdateDate=" + LastUpdateDate +
        ", RecordType=" + RecordType +
        ", DelMark=" + DelMark +
        "}";
    }
}
